define(['./../model/project'],
    function() {
        var app = angular.module('App.home');
        app.controller('homeCtrl', ['$scope', 'Project', '$timeout', '$rootScope', '$state', 'allProjects', function($scope, Project, $timeout, $rootScope, $state, allProjects) {

            $rootScope.projects = allProjects;
            $rootScope.allPrjsByLine = Project.allPrjsByLine;

        }]);
    });
